package guoanmaker.operator.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.OperatorOfficeSpace;
import guoanmaker.operator.business.model.OperatorPcActive;

public interface OperatorOfficeSpaceRepository extends JpaRepository<OperatorOfficeSpace, String>, JpaSpecificationExecutor<OperatorOfficeSpace>{
	 @Query("select n from OperatorOfficeSpace n where n.cityId=:cityId")
	    List<OperatorOfficeSpace> getOperatorOfficeSpace(@Param("cityId") String cityId);
}
